package simri.sensor;

import java.io.Serializable;

public class Sensor implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 4395509523204136613L;

	private int idSensor;

	private String nomeSensor;
	
	private String descricao;
	
	private String localInstalacao;
	
	private LeituraSensor ltSensor;
	
	private TipoSensor tipoSensor;
	
	public Sensor(){
		nomeSensor = "";
		descricao = "";
		localInstalacao = "";
		ltSensor = new LeituraSensor();
		tipoSensor = new TipoSensor();
	}
	
	public String getNomeSensor() {
		return nomeSensor;
	}

	public void setNomeSensor(String nomeSensor) {
		this.nomeSensor = nomeSensor;
	}

	public LeituraSensor getLtSensor() {
		return ltSensor;
	}

	public void setLtSensor(LeituraSensor ltSensor) {
		this.ltSensor = ltSensor;
	}

	public TipoSensor getTipoSensor() {
		return tipoSensor;
	}

	public void setTipoSensor(TipoSensor tipoSensor) {
		this.tipoSensor = tipoSensor;
	}

	public int getIdSensor() {
		return idSensor;
	}

	public void setIdSensor(int idSensor) {
		this.idSensor = idSensor;
	}

	public String getDescricao() {
		return descricao;
	}

	public void setDescricao(String descricao) {
		this.descricao = descricao;
	}

	public String getLocalInstalacao() {
		return localInstalacao;
	}

	public void setLocalInstalacao(String localInstalacao) {
		this.localInstalacao = localInstalacao;
	}

	
	
}
